<template>
	<div>
      <div class="login-form" style="text-align:center">
        <mu-icon value="settings_power" :size="72" color="red500" @click="logout"/>
      </div>
	</div>
</template>
<script>

import * as types from './store/types'
export default {
 	name: '',
    data () {
      return {
        msg: ''
      }
    },
    mounted(){
    	
    },
    methods: {
      logout(){
//        this.$parent.isLogin = false
          this.$store.commit(types.LOGIN, '')
          window.localStorage.removeItem('token')
//		  localStorage=nulllocalStorage.removeItem('token');
//        localStorage.removeItem('userIdentity');
//        localStorage.removeItem('isCommissary');
          this.$router.push({
            path: 'login'
          })
        
      }
    }
}
</script>
<style >
 
</style>